package org.vz.product.vserv.cap.web;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
import org.vz.product.vserv.cap.service.FristTestService;

@Controller
@RequestMapping("/hello")
public class Hello {
	@Autowired
	FristTestService fs;
	@RequestMapping("/say")
	@ResponseBody
	public String say(@RequestParam(value = "userName", defaultValue = "") String words){
		return "words："+fs.getServiceCount();
	}
}
